from django.urls import path
from . import views


urlpatterns = [
    # GET:图片验证码： http://www.meiduo.site:8000/image_codes/550e8400-e29b-41d4-a716-446655440000/
    path('image_codes/<uuid:uuid>/', views.ImageCodeView.as_view()),

    # GET:图片验证码：http://www.meiduo.site:8000/sms_codes/13320513179/?image_code=vbpj&image_code_id=87aef6cd-7679-4108-885b-733b0df55f16
    path('sms_codes/<mobile:mobile>/', views.SMSCodeView.as_view())
]